﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuVertical.ascx.cs" Inherits="WebApplication1.MenuVertical.MenuVertical" %>
 <asp:FormView ID="FormView1" runat="server" DataSourceID="xdsMenuVertical">
        <ItemTemplate>
            <asp:Label ID="idLabel" runat="server" Text='<%# "<H2>" + XPath("../@nom") + "</H2>"%>' />
        </ItemTemplate>
 </asp:FormView>
<ul>
<asp:XmlDataSource ID="xdsMenuVertical" runat="server" DataFile="/Data/WebSite.xml" XPath=""></asp:XmlDataSource>
    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="xdsMenuVertical">
        <ItemTemplate>
            <li><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Request.Path + "?idPage=" + Request.QueryString["idPage"] + "&idCategorie=" + XPath("@id") %>'><%#XPath("@nom")%></asp:HyperLink></li>
        </ItemTemplate>
    </asp:Repeater>
</ul>
